package com.qinker.robot.hook.aio.senter;

import com.qinker.robot.hook.Constant;
import com.qinker.robot.hook.aio.ClientStart;
import com.qinker.robot.common.RobotConstants;
import com.qinker.robot.common.model.LoginRequest;

/**
 * Created by Irany 2019/10/30 13:12
 */
public class RobotSenter {
    public void login() {
        LoginRequest request = new LoginRequest();
        request.setInstanceId(Constant.ClientInfo.INSTANCE_ID);
        request.setOpcode(RobotConstants.Handle.HANDLE_LOGIN);
        ClientStart.send(request);
    }
}
